using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
namespace WindowsGame4
{
    public class Mineral : Item
    {
        public int amount;
        public Mineral(int nMinerals)
        {
            amount = nMinerals;
            texture = GameManager.texture;
            color = new Vector4(1, 0, 0, 1);
            bBlocks = false;
        }
        public override void OnPickup(Player player)
        {
            player.minerals += amount;
            base.OnPickup(player);
        }
    }
}
